package com.design.blog.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.design.blog.model.Userinfo;
import com.design.blog.model.vo.PageNationParams;
import com.design.blog.model.vo.PageResult;
import com.design.blog.model.vo.UserinfoVO;

import java.util.List;

/**
 * @version 1.0
 * @author hxg
 * @date 2022-02-28
 * 服务类
 */
public interface IUserinfoService extends IService<Userinfo> {

    Userinfo getUserInfo(String token);

    PageResult<Userinfo> getAllUseInfo(PageNationParams params);
}
